package com.harbour.mmall.service;

import com.harbour.mmall.common.ServerResponse;
import com.harbour.mmall.pojo.Category;
import com.harbour.mmall.pojo.User;

import java.util.List;

public interface ICategoryService {
    ServerResponse addCategory(String categoryName,Integer parentId);

    ServerResponse updateCategoryName(Integer categoryId,String categoryName);

    ServerResponse<List<Category>> getChildrenParallelCategory(Integer categoryId);

    ServerResponse<List<Integer>> selectCategoryAndChildrenById(Integer categoryId);

}
